$OpenBSD: patch-src_print_battery_info_c,v 1.13 2017/02/02 08:00:43 tb Exp $
--- src/print_battery_info.c.orig	Thu Feb  2 05:15:15 2017
+++ src/print_battery_info.c	Thu Feb  2 05:14:43 2017
@@ -482,7 +482,7 @@ void print_battery_info(yajl_gen json_gen, char *buffe
     /* These OSes report battery stats in whole percent. */
     integer_battery_capacity = true;
 #endif
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__OpenBSD__)
     /* These OSes report battery time in minutes. */
     hide_seconds = true;
 #endif
